package Scrap;

public class demo07_truncatetrailingzeros {
	
	
	
	
	public static void main(String[] args) {
		
String input = "10000";
String formatted_string="";

formatted_string=input.replaceAll("0+$", "");

System.out.println(formatted_string);

}

		
		
	}	

//10000.6660
//990.0080
//101.11111
//31644.0




